package com.tedu.ds.advertisement.mapper;

import com.tedu.ds.advertisement.pojo.dto.AdvertisementParam;
import com.tedu.ds.advertisement.pojo.dto.AdvertisementQuery;
import com.tedu.ds.advertisement.pojo.entity.Advertisement;
import com.tedu.ds.advertisement.pojo.vo.AdvertisementVO;

import java.util.List;

public interface AdvertisementMapper {
    List<AdvertisementVO> select(AdvertisementQuery advertisementQuery);

    void insert(Advertisement advertisement);

    void update(Advertisement advertisement);

    void delete(Integer id);
}
